package com.suedawn.bookmanagesystem.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = true)
public class WarehouseQueryDTO extends PageQueryDTO {

    @ApiModelProperty("仓库ID")
    private Integer warehouseId;

    @ApiModelProperty("书籍详情ID")
    private Integer detailId;

    @ApiModelProperty("位置编码")
    private String locationCode;

    @ApiModelProperty("最后更新时间范围-开始")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date lastUpdateStart;

    @ApiModelProperty("最后更新时间范围-结束")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date lastUpdateEnd;
} 